package com.gqb.generic;

public class test {
	public static void main(String[] args) {
		
	}
	
	public void arrList(){
		ArrList arrList = new ArrList();
        arrList.setObj(1);
        arrList.setObj("1");
          
        Integer objInt = (Integer) arrList.getObj();
        System.out.println(objInt);
	}
	public void arrListT(){
	}
}

class ArrList{
	private Object obj;

	public Object getObj() {
		return obj;
	}

	public void setObj(Object obj) {
		this.obj = obj;
	}
	
}

class ArrListT<T>{
	private T objT;

	public ArrListT(T objT) {
		super();
		this.objT = objT;
	}

	public T getObjT() {
		return objT;
	}

	public void setObjT(T objT) {
		this.objT = objT;
	}
	
	
	
}